﻿//tne://exec_t4(../../Tnelab.SharedProject/to_ts.tt)
//tne://exec_t4(../../Tnelab.SharedProject/to_interface.tt)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfTest.Entity;

namespace WpfTest.BLL
{
    public class TestService:ITestService
    {
        public int Add(int x,Func<IList<UserInfo>,bool> Update)
        {
            var userList = new List<UserInfo>();
            userList.Add(new UserInfo { Name = "name1", Age = 12 });
            userList.Add(new UserInfo { Name = "name2", Age = 13 });
            var r=Update(userList);
            return x;
        }
    }
}
